//
//  MVDownloadManager.h
//  Gegeda_music_MY
//
//  Created by lanou3g on 15/11/7.
//  Copyright © 2015年 周莹. All rights reserved.
//

#import <Foundation/Foundation.h>
@class MVModel;

@protocol MVDownloadManagerDelegate <NSObject>

-(void)MVDidUpDatedProgressWithMVModel:(MVModel *)model;

@end


@interface MVDownloadManager : NSObject

@property(nonatomic, weak)id<MVDownloadManagerDelegate>delegate;
//单利
+(instancetype)sharedInstance;
@property(nonatomic, strong)NSOperationQueue *downLoadQueue;  //?
//用来保存创建的下载管理类,方便以后对应的管理
@property(nonatomic, strong)NSMutableDictionary *httpOperationDict;
@property(nonatomic, strong)NSMutableArray *downMVArray;   //?

#pragma mark - 开始下载
-(void)startdownloadMVWithMVModel:(MVModel *)startModel;
#pragma mark - 暂停下载
-(void)pausedownloadMVWithMVModel:(MVModel *)pauseModel;
#pragma mark - 断点继续下载
-(void)resumedownloadMVWithModel:(MVModel *)resumeModel;



@end
